package com.chinairi.mall.dao;

import com.chinairi.mall.model.Measurement;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author Webgasd
 * @since 2020-09-12
 */
public interface MeasurementMapper extends BaseMapper<Measurement> {
    /**
     * 特征量提取
     * @return
     */
    List<Measurement> getTypeList();

    /**
     * 特征量单位提取
     * @param type
     * @return
     */
    List<Measurement> getUnitList(@Param("type") String type);

}
